package com.enation.app.shop.front.policyInsurance.service;

import com.enation.app.shop.front.policyInsurance.entity.Supplier;

import java.util.List;

public interface ISupplierMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Supplier record);

    int insertSelective(Supplier record);

    Supplier selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Supplier record);

    int updateByPrimaryKey(Supplier record);

     List<Supplier>   getAll();

    List<Supplier> getByPage(int page, Integer limit, String seacher);

    List<Supplier> getBySercher(String seacher);
}
